Exceptions
The following constants represent exceptions that can be raised by Cyberdog methods and functions.
kCyberErrorsBase
- The base Cyberdog error constant. All Cyberdog exceptions are defined as offsets from
kCyberErrorsBase
.kCDErrInvalidObject
- The object whose method was called is invalid. This exception is thrown by objects whose internal state has been corrupted.
kCDErrInvalidURL
- The specified URL is invalid. This exception is thrown by
CyberSession::CreateCyberItemFromURL
(page 355).kCDErrServerBusy
- The server is unable to process requests at this time.
kCDErrAuthentication
- The server does not recognize the user name or password.
kCDErrItemUnavailable
- The mail message or news group posting is no longer available.
kCDErrParamAlreadyExists
- An attempt was made to add a parameter with a duplicate parameter key to a parameter set.
kCDErrNoInternetConfig
- The Internet Config extension is not installed.
kCDErrCyberSessionAlreadyExists
- An attempt was made to create and initialize a Cyberdog session object when one already exists.
kCDErrInvalidServiceResource
- The contents of the
'srvc'
resource are invalid.kCDErrNoFileRepresentation
- The Cyberdog item is not downloadable.
CyberItem::GetFileInfo
(page 234) throws this exception when it is called with thekCDInfoDownload
constant and the Cyberdog item does not reference downloadable data.kCDErrPasswordRetriesExceeded
- The number of password retries was exceeded.
kCDErrMacTCPorOTMissing
- The required networking software (MacTCP or Open Transport) is not installed.
kCDErrItemNotResolved
- The Cyberdog item is not resolved.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help